import axios from "axios";

export function fetchData(){
    return axios.get('/api/person');
}

export function deleteData(params){
    return axios.get(`/api/person_delete/${params}`)
}

export function searchData(params){
    return axios.get(`/api/person_search/${params}`)
}

export function updateInfo(params){
    return axios.get(`/api/person_update/${params}`)
}
